<!DOCTYPE html>
<html lang="en">
  <head>
    <title>RAMAnimatedTabBarItem Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Class/RAMAnimatedTabBarItem" class="dashAnchor"></a>
    <a title="RAMAnimatedTabBarItem Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">RAMAnimatedTabBarDemo Docs</a> (100% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">RAMAnimatedTabBarDemo Reference</a>
        <img id="carat" src="../img/carat.png" />
        RAMAnimatedTabBarItem Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/RAMAnimatedTabBarController.html">RAMAnimatedTabBarController</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMAnimatedTabBarItem.html">RAMAnimatedTabBarItem</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMBounceAnimation.html">RAMBounceAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMFrameItemAnimation.html">RAMFrameItemAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMFumeAnimation.html">RAMFumeAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMItemAnimation.html">RAMItemAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMRotationAnimation.html">RAMRotationAnimation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/RAMTransitionItemAnimations.html">RAMTransitionItemAnimations</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>RAMAnimatedTabBarItem</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">RAMAnimatedTabBarItem</span><span class="p">:</span> <span class="kt">UITabBarItem</span></code></pre>

                </div>
              </div>
            <p>UITabBarItem with animation</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9animationGSQCS_16RAMItemAnimation_"></a>
                    <a name="//apple_ref/swift/Property/animation" class="dashAnchor"></a>
                    <a class="token" href="#/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9animationGSQCS_16RAMItemAnimation_">animation</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>animation for UITabBarItem. use RAMFumeAnimation, RAMBounceAnimation, RAMRotationAnimation, RAMFrameItemAnimation, RAMTransitionAnimation
or create custom anmation inherit RAMItemAnimation</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">@IBOutlet</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">animation</span><span class="p">:</span> <span class="kt">RAMItemAnimation</span><span class="o">!</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem8textFontCSo6UIFont"></a>
                    <a name="//apple_ref/swift/Property/textFont" class="dashAnchor"></a>
                    <a class="token" href="#/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem8textFontCSo6UIFont">textFont</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The font used to render the UITabBarItem text.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textFont</span><span class="p">:</span> <span class="kt">UIFont</span> <span class="o">=</span> <span class="kt">UIFont</span><span class="o">.</span><span class="nf">systemFontOfSize</span><span class="p">(</span><span class="mi">10</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9textColorCSo7UIColor"></a>
                    <a name="//apple_ref/swift/Property/textColor" class="dashAnchor"></a>
                    <a class="token" href="#/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9textColorCSo7UIColor">textColor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The color of the UITabBarItem text.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">@IBInspectable</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">textColor</span><span class="p">:</span> <span class="kt">UIColor</span> <span class="o">=</span> <span class="kt">UIColor</span><span class="o">.</span><span class="nf">blackColor</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9iconColorCSo7UIColor"></a>
                    <a name="//apple_ref/swift/Property/iconColor" class="dashAnchor"></a>
                    <a class="token" href="#/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem9iconColorCSo7UIColor">iconColor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The tint color of the UITabBarItem icon.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">@IBInspectable</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">iconColor</span><span class="p">:</span> <span class="kt">UIColor</span> <span class="o">=</span> <span class="kt">UIColor</span><span class="o">.</span><span class="nf">clearColor</span><span class="p">()</span> <span class="c1">// if alpha color is 0 color ignoring</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem13playAnimationFT_T_"></a>
                    <a name="//apple_ref/swift/Method/playAnimation()" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem13playAnimationFT_T_">playAnimation()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start selected animation</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">playAnimation</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem17deselectAnimationFT_T_"></a>
                    <a name="//apple_ref/swift/Method/deselectAnimation()" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem17deselectAnimationFT_T_">deselectAnimation()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start unselected animation</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">deselectAnimation</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem13selectedStateFT_T_"></a>
                    <a name="//apple_ref/swift/Method/selectedState()" class="dashAnchor"></a>
                    <a class="token" href="#/s:FC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem13selectedStateFT_T_">selectedState()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set selected state without animation</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">selectedState</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem10badgeValueGSqSS_"></a>
                    <a name="//apple_ref/swift/Property/badgeValue" class="dashAnchor"></a>
                    <a class="token" href="#/s:vC21RAMAnimatedTabBarDemo21RAMAnimatedTabBarItem10badgeValueGSqSS_">badgeValue</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The current badge value</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">override</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">badgeValue</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2016 <a class="link" href="" target="_blank" rel="external">AlexKalinkin</a>. All rights reserved. (Last updated: 2016-06-10)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.5.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
